package com.ck.web.shiro;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * 用户信息
 * Created by ChengK on 2017/4/24 0024.
 */
@Getter
@Setter
@ToString(callSuper = true)
public class UserPrincipal implements Serializable{
    /**
     * 登录号
     */
    private String loginNo;
    /**
     * 用户名
     */
    private String userName;
    /**
     * 邮件
     */
    private String eMail;
    /**
     * 电话号码
     */
    private String telephone;

    public UserPrincipal(String loginNo,String userName,String eMail,String telephone){
        this.loginNo = loginNo;
        this.userName = userName;
        this.eMail = eMail;
        this.telephone = telephone;
    }
}
